<template>
  home
  <button @click="btnClick">点我加一{{ count }}</button>
</template>

<script>
export default {
  name: 'Home',
  props: ['currentName'],
  data() {
    return {
      count: 0,
    }
  },
  methods: {
    btnClick() {
      this.count += 1
    },
  },
}
</script>

<style></style>
